package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ModuleTemperatureParam implements Trans<ModuleTemperatureParam, CompleteEntity.ModuleTemperatureParam> {

    /**
     * 是否启用自动控制温度，来源自智慧模组
     */
    private Boolean enable;

    /**
     * 温度有效值上限(真实温度，整型) 默认0
     */
    private Integer maxTemperature;

    /**
     * 温度有效值下限(真实温度，整型) 默认0
     */
    private Integer minTemperature;

    /**
     * 模组温度采样间隔
     */
    private Integer interval;
}

